import i18n from '../../../i18n/i18n'
export const tableOption = {
  menuAlign: 'center',
  align: 'center',
  refreshBtn: true,
  menu: false,
  searchSize: 'mini',
  addBtn: false,
  column: [
    // 列表数据
    {
      label: i18n.t('product.prodName'),
      prop: 'prodName',
      search: true
    }, {
      label: i18n.t('product.pic'),
      prop: 'pic',
      slot: true
    }, {
      label: i18n.t('distribution.commAmount'),
      width: 200,
      prop: 'incomeAmount'
    }, {
      label: i18n.t('distribution.distributor'),
      width: 200,
      prop: 'nickName',
      search: true
    }, {
      label: i18n.t('distribution.phoneNum'),
      width: 200,
      prop: 'userMobile',
      search: true
    }, {
      width: 200,
      label: i18n.t('distribution.distriStatus'),
      search: true,
      type: 'select',
      prop: 'state',
      slot: true,
      dicData: [
        {
          label: i18n.t('distribution.waitSettle'),
          value: 1
        }, {
          label: i18n.t('distribution.settled'),
          value: 2
        }, {
          label: i18n.t('distribution.invOrder'),
          value: -1
        }
      ]
    }
  ]
}
